package com.kxmall.admin.controller.vehicle.service;

import com.kxmall.common.core.domain.PageQuery;
import com.kxmall.common.core.page.TableDataInfo;
import com.kxmall.vehicle.domain.bo.KxVehicleOrderBo;
import com.kxmall.vehicle.domain.vo.KxVehicleOrderVo;

import java.util.List;

/**
 * 订单Service接口
 */
public interface IKxVehicleOrderService {

    /**
     * 查询订单
     */
    KxVehicleOrderVo queryById(Long id);

    /**
     * 查询订单列表
     */
    TableDataInfo<KxVehicleOrderVo> queryPageList(KxVehicleOrderBo bo, PageQuery pageQuery);

    /**
     * 查询订单列表
     */
    List<KxVehicleOrderVo> queryList(KxVehicleOrderBo bo);

    /**
     * 修改订单
     */
    //Boolean updateByBo(KxVehicleOrderBo bo);

    /**
     * 校验并批量删除订单信息
     */
    //Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

}
